﻿Public Class PhongCRT
    Private _maphong As Integer
    Private _tenphong As String
    Private _maloaiphong As Integer
    Private _tinhtrang As String
    Private _ghichu As String

    Private _checkmaloaiphong As Boolean
    Private _checktinhtrang As Boolean
    Private _checktenphong As Boolean
    Private _checkmaphong As Boolean
    Private _checkghichu As Boolean
    Public Property MaPhong() As Integer
        Get
            Return _maphong
        End Get
        Set(ByVal value As Integer)
            _maphong = value
        End Set
    End Property
    Public Property TenPhong() As String
        Get
            Return _tenphong
        End Get
        Set(ByVal value As String)
            _tenphong = value
        End Set
    End Property
    Public Property MaLoaiPhong() As Integer
        Get
            Return _maloaiphong
        End Get
        Set(ByVal value As Integer)
            _maloaiphong = value
        End Set
    End Property
    Public Property TinhTrang() As String
        Get
            Return _tinhtrang
        End Get
        Set(ByVal value As String)
            _tinhtrang = value
        End Set
    End Property
    Public Property GhiChu As String
        Get
            Return _ghichu
        End Get
        Set(ByVal value As String)
            _ghichu = value
        End Set
    End Property

    Public Property CheckMaPhong() As Boolean
        Get
            Return _checkmaphong
        End Get
        Set(ByVal value As Boolean)
            _checkmaphong = value
        End Set
    End Property
    Public Property CheckMaLoaiPhong As Boolean
        Get
            Return _checkmaloaiphong
        End Get
        Set(ByVal value As Boolean)
            _checkmaloaiphong = value
        End Set
    End Property
    Public Property CheckTinhTrang() As Boolean
        Get
            Return _checktinhtrang
        End Get
        Set(ByVal value As Boolean)
            _checktinhtrang = value
        End Set
    End Property
    Public Property CheckTenPhong() As Boolean
        Get
            Return _checktenphong
        End Get
        Set(ByVal value As Boolean)
            _checktenphong = value
        End Set
    End Property
    Public Property CheckGhiChu As Boolean
        Get
            Return _checkghichu
        End Get
        Set(ByVal value As Boolean)
            _checkghichu = value
        End Set
    End Property
    Public Sub New()
        _maphong = 0
        _tenphong = ""
        _maloaiphong = 0
        _tinhtrang = ""
        _ghichu = ""
        _checkghichu = False
        _checkmaloaiphong = False
        _checkmaphong = False
        _checktenphong = False
        _checktinhtrang = False
    End Sub
End Class
